<%@page import="domain.Things"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'innerInfor.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="content-type" content="text/html;charset=UTF-8">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  <% Things t=(Things)request.getAttribute("thing"); 
     Map fileNameMap=(Map)request.getAttribute("fileNameMap");
  if(t!=null){
     
  %>
    <form action="servlet/deleteInfo">
    <table style="color:#333333;background-color:#F7F6F3;font-size:12pt;width:400px; " >
    <tr>
    
    <td>编号</td>
    <td><%=t.getId() %></td>
    </tr>
    <tr>
    <td>日期</td>
    <td><%=t.getTime()%></td>
    </tr>
    <tr>
    <td>种类</td>
    <td><%=t.getType()%></td>
    </tr>
    <tr>
    <td>拾取地点</td>
    <td><%=t.getPlace()%></td>
    </tr>
    <tr>
    <td>拾取者姓名</td>
    <td><%=t.getName()%></td>
    </tr>
    <tr>
    <td>手机号码</td>
    <td><%=t.getPhonenumber()%></td>
    </tr>
    <tr>
    <td>qq/微信</td>
    <td><%=t.getQqweixin()%></td>
    </tr>
    <%if(!t.getSrc().equals("")){ %>
    </tr>
      <img src="/servlet/downLoad?filename=<%=t.getSrc()%>&phone=<%=t.getPhonenumber()%>"/>
    <input type="hidden" name="id" value=<%=t.getId() %>>
    
    </tr>
    <%
        }
    } %>
    </table>
    描述：<br>
    <div style="width:180px;height:200px; word-wrap: break-word; word-break: normal;background-color:#F7F6F3 " >
    <%=t.getDescrible() %>
    </div>
    
     

    <br>
      <br>
    已找到？输入口令以删除 <br>
     <input type="text" name="losekey"/> 
    
    <input type="submit" value="提交"> 
    </form>
  </body>
</html>
